FROM java:8
VOLUME /tmp
ADD ./dean-product.jar /dean-product.jar
RUN bash -c 'touch /dean-product.jar'
EXPOSE 8001
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/dean-product.jar"]